import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import VueLazyLoad from 'vue-lazyload'

import flascClick from 'fastclick'
// 解决移动300ms延迟,三步骤
flascClick.attach(document.body)

// 使用懒加载的插件
Vue.use(VueLazyLoad, {
    loading: require('@/assets/img/home/loading.gif')
})

Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')


// 插件
// vue-lazyload
// fastclick 
// better-scroll
// axios